<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>文件上传</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f7f7f7;
            margin: 0;
            padding: 20px;
        }
        .upload-container {
            max-width: 400px;
            margin: auto;
            padding: 20px;
            background: #fff;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        h2 {
            text-align: center;
        }
        .upload-form {
            display: flex;
            flex-direction: column;
        }
        .upload-form label {
            margin-bottom: 10px;
        }
        .upload-form input[type="file"] {
            margin-bottom: 15px;
        }
        .upload-form button {
            padding: 10px;
            background-color: #007bff;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }
        .upload-form button:hover {
            background-color: #0056b3;
        }
    </style>
</head>
<body>

    <div class="upload-container">
        <h2>文件上传</h2>
        <form class="upload-form" action="/upload" method="post" enctype="multipart/form-data">
            <label for="fileUpload">选择文件上传:</label>
            <input type="file" id="fileUpload" name="fileUpload">
            <button type="submit">上传文件</button>
        </form>
    </div>

</body>
</html>